home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Champak 62
/
Volume 62 - JOGO DISK .iso
/
Games
/
nexon.swf
/
scripts
/
__Packages
/
game
/
items
/
ShelterBlock.as
< prev
Wrap
Text File
|
2008-03-12
|
6KB
|
126 lines
if(true)
{
if(true)
{
if(!eval("\x01\x01")[§§constant(1)])
{
eval("\x01\x01")[§§constant(1)] = new §\§\§constant(2)§();
}
§§pop();
if(!eval("\x01\x01")[§§constant(1)][§§constant(3)])
{
eval("\x01\x01")[§§constant(1)][§§constant(3)] = new §\§\§constant(2)§();
}
§§pop();
if(!eval("\x01\x01")[§§constant(1)][§§constant(3)][§§constant(4)])
{
var _loc2_ = eval(§§constant(1))[§§constant(3)][§§constant(4)] = function(rootMc, targetMc, spacing, typeNum, typeName)
{
this[§§constant(5)] = rootMc;
this[§§constant(6)] = targetMc;
this[§§constant(7)] = spacing;
this[§§constant(8)] = typeNum;
this[§§constant(9)] = typeName;
}[§§constant(10)];
_loc2_[§§constant(11)] = function(x, y, depth)
{
this[§§constant(12)] = x;
this[§§constant(13)] = y;
this[§§constant(14)] = this[§§constant(6)][§§constant(17)](this[§§constant(15)],this[§§constant(15)] + §§constant(16) + x + §§constant(16) + y,depth);
this[§§constant(14)][§§constant(18)] = x * this[§§constant(7)];
this[§§constant(14)][§§constant(19)] = y * this[§§constant(7)];
this[§§constant(20)]();
};
_loc2_[§§constant(20)] = function()
{
this[§§constant(14)][§§constant(21)] = this;
this[§§constant(14)][§§constant(8)] = this[§§constant(8)];
this[§§constant(14)][§§constant(9)] = this[§§constant(9)];
};
_loc2_[§§constant(22)] = function(type, playerObj)
{
if(this[type] == null)
{
this[type] = playerObj;
this[§§constant(14)][§§constant(24)][§§constant(25)][§§constant(26)](§§constant(23));
var _loc2_ = this[§§constant(14)][§§constant(28)](type,this[§§constant(14)][§§constant(27)]());
_loc2_[§§constant(21)] = this;
_loc2_[§§constant(29)] = type;
_loc2_[§§constant(30)] = this[type];
_loc2_[§§constant(31)] = function()
{
if(this[§§constant(30)][§§constant(12)] != this[§§constant(21)][§§constant(12)] or this[§§constant(30)][§§constant(13)] != this[§§constant(21)][§§constant(13)])
{
this[§§constant(21)][§§constant(14)][§§constant(24)][§§constant(25)][§§constant(26)](§§constant(32));
this[§§constant(21)][this[§§constant(29)]] = null;
this[§§constant(31)] = null;
this[§§constant(33)]();
}
};
}
};
_loc2_[§§constant(34)] = function(delaySec, playerObj)
{
if(!this[§§constant(35)])
{
if(playerObj[§§constant(36)] == §§constant(37))
{
this[§§constant(5)][§§constant(39)][§§constant(40)](§§constant(38));
}
this[§§constant(35)] = true;
this[§§constant(41)] = delaySec;
this[§§constant(42)] = playerObj;
this[§§constant(43)] = this[§§constant(42)][§§constant(43)];
this[§§constant(42)][§§constant(44)](-1);
this[§§constant(45)]();
}
};
_loc2_[§§constant(45)] = function()
{
§§constant(47)(this[§§constant(46)]);
this[§§constant(46)] = §§constant(49)(this,§§constant(48),this[§§constant(41)]);
this[§§constant(5)][§§constant(39)][§§constant(40)](§§constant(38));
};
_loc2_[§§constant(48)] = function()
{
§§constant(47)(this[§§constant(46)]);
this[§§constant(5)][§§constant(51)][§§constant(48)](this[§§constant(12)],this[§§constant(13)],this[§§constant(43)],§§constant(50),this[§§constant(42)]);
this[§§constant(52)]();
this[§§constant(5)][§§constant(39)][§§constant(40)](§§constant(53));
};
_loc2_[§§constant(52)] = function()
{
§§constant(47)(this[§§constant(54)]);
this[§§constant(55)] = true;
this[§§constant(54)] = §§constant(49)(this,§§constant(57),this[§§constant(56)]);
};
_loc2_[§§constant(57)] = function()
{
§§constant(47)(this[§§constant(54)]);
this[§§constant(42)][§§constant(44)](1);
this[§§constant(35)] = false;
this[§§constant(55)] = false;
};
_loc2_[§§constant(58)] = function()
{
§§constant(47)(this[§§constant(46)]);
this[§§constant(14)][§§constant(33)]();
false;
};
_loc2_[§§constant(59)] = false;
_loc2_[§§constant(36)] = §§constant(60);
_loc2_[§§constant(15)] = §§constant(61);
_loc2_[§§constant(62)] = 0;
_loc2_[§§constant(42)] = null;
_loc2_[§§constant(56)] = 300;
_loc2_[§§constant(35)] = false;
_loc2_[§§constant(55)] = false;
_loc2_[§§constant(37)] = null;
_loc2_[§§constant(63)] = null;
_loc2_[§§constant(64)] = null;
§§push(§§constant(65)(eval(§§constant(1))[§§constant(3)][§§constant(4)][§§constant(10)],null,1));
}
§§pop();
}
}